package edu.biwu.VO;

import edu.biwu.po.Product;
import edu.biwu.po.Student;
import lombok.*;

import java.util.List;

/**
 * @author 王俊彪
 * @version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@RequiredArgsConstructor
public class QueryVO {
    /*封装页面传递过来的product参数*/
//    @NonNull
    private Product product;
    /*封装学生相关的参数*/
    @NonNull
    private Student student;
    /*封装多个学号*/
    private List<Integer> snos;

    public QueryVO(List<Integer> snos) {
        this.snos = snos;
    }
}
